<?php 
include 'include/init.php';
include 'include/mysql.config.php';
include 'include/common.fun.php';
include 'data/common_data.php';



// 广告图
$sql = "SELECT ad_img FROM wd_ad ORDER BY ad_order ASC LIMIT 0,3";
$banner = $db->getAll($sql);
// 广告图
$sql='SELECT ad_img,ad_url FROM wd_ad where ad_order>2 ORDER BY ad_order asc limit 6';
$picList=$db->getAll($sql);
//服务介绍
$sql='SELECT * from wd_service where 1 order by service_id asc limit 0,6';
$project=$db->getAll($sql);
//资讯中心
$sql='SELECT art_id,art_title,art_addtime from wd_article order by art_addtime desc limit 0,10';
$newsInfo=$db->getAll($sql);

$sql="SELECT case_id,case_img_thumb from wd_case order by case_addtime desc limit 5";
$battercase=$db->getAll($sql);
include './view/index.php';